package puziran.sofa.util;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class JsonResultType
{
  private String msg;
  private String recordcount;

  public JsonResultType()
  {
    this.msg = "";
    this.recordcount = "";
  }

  public JsonResultType(String msg, String recordcount) {
    this.msg = msg;
    this.recordcount = recordcount;
  }

  public List getMergeList(List list) {
    Map jsonResMap = new HashMap();
    jsonResMap.put("msg", this.msg);
    jsonResMap.put("recordcount", this.recordcount);
    list.add(jsonResMap);

    return list;
  }
}